//
//  DYPageController.h
//  TimeMall
//
//  Created by 帝云科技 on 2017/12/28.
//  Copyright © 2017年 diyunkeji. All rights reserved.
//

#import "DYViewController.h"
#import "DYPageTitleView.h"

@interface DYPageController : DYViewController

@property (nonatomic, strong) DYPageCollectionView *collectionView;
@property (nonatomic, strong) DYPageTitleView *segmentView;

/**
 标题数组
 */
@property (nonatomic, strong) NSArray *titleArray;

/**
 标题栏高度 默认 43
 */
@property (nonatomic, assign) CGFloat segmentHeight;


/**
 默认显示第几个控制器 从0开始
 */
@property (nonatomic, assign) NSInteger currentIndex;

/**
 点击标题 控制器是否滑动 默认为NO
 */
@property (nonatomic, assign, getter=isAnimatedOfScrollToOffset) BOOL animatedOfScrollToOffset;

@end
